﻿<!DOCTYPE html>
<!-- 便民电话列表页面 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>服务区-管理系统</title>
<link rel="stylesheet" type="text/css" href="/IMS/css/DefaultSkin.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/css/load.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/css/control.css?version=20170912" />
<link rel="stylesheet" type="text/css" href="/IMS/css/list.css?version=20170908" /> 
<link rel="stylesheet" type="text/css" href="/IMS/css/anim.css?version=20170908" /> 
<link rel="stylesheet" type="text/css" href="/IMS/css/page.css??version=20171016" />
<link rel="stylesheet" type="text/css" href="/IMS/css/comm.css?version=20170909" /> 
<link rel="stylesheet" type="text/css" href="/IMS/css/select2/select2.css?version=20170909" />
<link rel="stylesheet" type="text/css" href="/IMS/css/zTreeStyle/zTreeStyle.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/css/core.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/file/uploadify/uploadify.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/treeview/jquery.treeview.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/css/multi-select.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/bsgrid/bsgrid.all.min.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/bsgrid/bsgrid.all.min.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/css/jeasy-ui/easyui.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/js/plugins/poshytip/tip-darkgray/tip-darkgray.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/css/addinfo.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/css/prettyPhoto.css?version=20170908" />
<link rel="stylesheet" type="text/css" href="/IMS/css/jquery-ui-1.10.4.custom.min.css" />
<link rel="stylesheet" type="text/css" href="/IMS/css/jquery.editable-select.min.css" />
<script type="text/javascript" src="/IMS/js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="/IMS/js/common/public-obj.js"></script>
<script type="text/javascript" src="/IMS/js/common/bind.js"></script>
<script type="text/javascript" src="/IMS/js/common/controls.js"></script>
<script type="text/javascript" src="/IMS/js/common/slide.js"></script>
<script type="text/javascript" src="/IMS/js/common/switch.js"></script>
<script type="text/javascript" src="/IMS/js/common/initial.js"></script>
<script type="text/javascript" src="/IMS/js/common/print/printhtml.js"></script>
<script type="text/javascript" src="/IMS/js/common/listBox.js"></script>

<script type="text/javascript" src="/IMS/js/plugins/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/file/uploadify/jquery.uploadify.min.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/layer/layer.js?version=20170901"></script>
<script type="text/javascript" src="/IMS/js/plugins/select2/select2.full.min.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/select2/i18n/zh-CN.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/treeview/jquery.treeview.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/form/jquery.form.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/ztree/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/ztree/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/constant.js?version=1.0.0"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/common.js?version=20180314"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/bmsAjax.js?version=20170904"></script>
<script type="text/javascript" src="/IMS/js/plugins/comm/validata.js?version=1.0.0"></script>
<script type="text/javascript" src="/IMS/js/plugins/validate/jquery.validate.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/validate/localization/messages_zh.min.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/validate/regValidate.js"></script>
<script type="text/javascript" src="/IMS/js/common/popup_layer.js"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery_magnifier.js"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery.multi-select.js"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery.quicksearch.js"></script>
<script type="text/javascript" src="/IMS/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery.prettyPhoto.js"></script>

<script type="text/javascript" src="/IMS/js/plugins/bsgrid/grid.zh-CN.min.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/bsgrid/bsgrid.all.min.js"></script>
<script type="text/javascript" src="/IMS/js/plugins/bsgrid/grid.extend.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="/IMS/js/plugins/poshytip/jquery.poshytip.js"></script>

<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/IMS/js/common/joinUs/AddListBox.js"></script>
<script type="text/javascript" src="/IMS/js/common/jqueryPlugins/jquery.editable-select.min.js"></script>



<!-- echarts -->
 <script type="text/javascript" src="/IMS/js/plugins/echarts/dist/echarts.js"></script> 
 <script type="text/javascript" src="/IMS/js/plugins/echarts/dist/chart/bar.js"></script> 
 <script type="text/javascript" src="/IMS/js/plugins/echarts/dist/chart/line.js"></script> 
 <script type="text/javascript" src="/IMS/js/plugins/echarts/dist/chart/pie.js"></script> 
 <script type="text/javascript" src="/IMS/js/plugins/echarts/dist/chart/funnel.js"></script> 

<!-- bootstrap -->












<script>
document.domain = location.hostname;
var isIE = (function () {
	var ua = window.navigator.userAgent.toLowerCase();
	if (ua.indexOf("msie") > 0 || ua.indexOf("trident") > 0 ) {
    	return true;
	}else {
    	return false;
	}
}());
 /*<![CDATA[*/
function findDBInfo(){
 	var url = 'pasMessage/list.ht';
	addTabs(url,'待办任务');
}
function setActiveURL(page , href){
		if(page == top){
			if(typeof(page.activeURL) == 'function'){
				page.activeURL(href);
			}
		}else{
			setActiveURL(page.parent,href);
		}
	}
		$(function(){
			var href = document.location.href;
			var prefix = location.protocol + "//" + location.hostname + (location.port == "" ? "" : (":" + location.port));
			href = href.replace(prefix,"");
			setActiveURL(self , href);	
			
			function menuControl(){
				var _options=this.options={
					openCls:"active_subopen",//展开子列表后菜单盒子的class名
					disableCls:"active_subdisable",//展开子列表后菜单盒子的class名
                    menuWarpCls:"content",
                    menuSmall:"menu-small"
				};
				this.menuBox=$(".grid-s5m0");
                this.menuWarp=$("#"+_options.menuWarpCls);
                this.menuSmallBtn=this.menuBox.find(".menu-small-btn");
				this.menuBoxList=$(".menu-box-list .dd-item");
				this.menuIndex=$(".menu-box-list .dd-index");
				this.submenuOpenBtn=this.menuBox.find(".submenu-open");
				this.subMenuBox=this.menuBox.find(".dd-inner");
				this._userState=false;
                this._hide();
                this._menuBig();
                this._disable();
				this._bind();
			}
			menuControl.prototype={
				_resize:function(){
                    var _this=this,
                        win=$(window),
                        count=5;
//					$(window).resize();
                    _this._timeout && clearTimeout(_this._timeout);
					function wresize(){
                        win.resize();
                        count--;
                        if(count>0){
                            _this._timeout && clearTimeout(_this._timeout);
                            _this._timeout=setTimeout(function(){
                                wresize();
                            },100);
                        }
                    }
                    wresize();
				},
				/**
				*隐藏菜单
				*/
				_hide:function(){
					var _this=this,
					_tempOption=this.options;
					
					_this._state=false;
					// _this.menuBox.css({"width":"0px"});
                    
                    _this.menuBox.removeClass(_tempOption.disableCls);
					_this.menuBox.removeClass(_tempOption.openCls);
					_this._resize();
				},
                
                _disable:function(){
					var _this=this
					_tempOption=this.options;
                    
					_this.menuBox.addClass(_tempOption.disableCls);
                    _this.menuBox.removeClass(_tempOption.openCls);
                    _this._resize();
                },
				/**
				*打开菜单
				*/
				_open:function(){
					var _this=this,
					_tempOption=this.options;

					_this._state=true;
					//_this.menuBox.css({"width":"180px"});
                    _this.menuBox.removeClass(_tempOption.disableCls);
					_this.menuBox.addClass(_tempOption.openCls);
					_this._resize();
				},
                
                /**
                 * 最小化菜单
                 * @private
                 */
                _menuSmall:function(){
                    var _this=this,
					_tempOption=this.options;
                    
                    _this._menuState=false;
                    
                    _this.menuWarp.addClass(_tempOption.menuSmall);
                    _this._resize();
                },
                
                /**
                 * 最大化菜单
                 * @private
                 */
                _menuBig:function(){
                    var _this=this,
					_tempOption=this.options;
                    
                    _this._menuState=true;
                    
                    _this.menuWarp.removeClass(_tempOption.menuSmall);
                    _this._resize();
                },
				_bind:function(){
					var _this=this;
                    
                    
                    _this.menuSmallBtn.bind("click",function(){
						if(_this._menuState){
                            _this._userState=false;
							_this._menuSmall();
						}else{
                            _this._userState=true;
							_this._menuBig();
						}
					});
                    
					_this.submenuOpenBtn.bind("click",function(){
						if(_this._state){
							_this._hide();
						}else{
							_this._open();
						}
					});
                    _this.menuIndex.bind("click",function(){
                        _this._disable();
                    });
					_this.menuBoxList.bind("click",function(){
                        if(!_this._userState){
                            _this._menuSmall();
                        }
						_this._open();
					});
				}
			};

			new menuControl();

			function SetScroll() {
			    this._bind();
			}

			SetScroll.prototype = {
			    /**
			     * 添加事件方法
			     * @param {function} fn 事件调用的方法
			     * @param {Node} node 事件需要操作的节点                
			     */
			    addEvent: function (fn, node) {
			        if (fn && $.isFunction(fn)) {
			            this.eventList = this.eventList || [];
			            this.eventList.push({ fn: fn, node: node });
			        }
			    },

			    /**
			     * 事件触发时执行的事件
			     */
			    triggerEvt: function () {
			        var _this = this,
			            bodyscrollTop = _this._getScrollNode();

			        _this.eventList && $.each(_this.eventList, function () {
			            this.fn(bodyscrollTop.scrollTop, this.node);
			        });
			    },
			    /**
			     * 获取支持scrollTop的元素
			     * @protected
			     * @returns {Node} 返回支持Dom节点scrollTop的元素
			     */
			    _getScrollNode: function () {
			        return document.documentElement && document.documentElement.scrollTop ? document.documentElement : document.body;
			    },
			    /**
			     * 绑定事件
			     * @protected
			     */
			    _bind: function () {
			        var _this = this;
			        $(window).bind("scroll", function () {
			            _this.triggerEvt();
			        });
			    }
			};

			var scroll=new SetScroll(),//滚动条对象
				menuBox=$(".menu-box"),
				ddinner=$(".dd-inner");//子菜单列表盒子


				scroll.addEvent(function(scrollTop,scrolla){
					var top=50-scrollTop;
					if(top<=0){
						top=0;
					}
					scrolla.css({top:top});
					ddinner.css({top:top});
				},$(".menu-box"));

			$("img").error(function(){//图片加载错误
				$(this).attr("src", '/IMS/img/u146.png?');//设置默认图片
			});
			var imgUrl = '';
			
			$("#menu_tree").bind('click',function(event){
				if(event.target.className.indexOf("hitarea")>-1){
					if(YW.newobj){
						if(YW.newobj.leftheigth){
							YW.newobj.leftheigth.setSize();
						}
					}
				}
			})
			$(".item-hd,.dd-nav").bind('click',function(){
				if(YW.newobj){
					if(YW.newobj.leftheigth){
						YW.newobj.leftheigth.setSize();
					}
				}
			});
		});
		  function clearList(){
			  $(".icip_pull_item").each(function(){
					  $(this).removeClass("icip_button_c2");
			  });
		  }
	     $(function(){
	           $(".icip_pull_item").click(function(){
	        	   clearList();
	     		 var pageSize=$(this).attr("name");
	     		  $(this).addClass("icip_button_c2");
	     		  $("#pageSize").val(pageSize);
	     		 go($("#pagenumber").html());
	           });
	           //展开更多
	           (function(){
	               $(".icip_btn_more").delegate(".icip_more_show","mouseover",function(){
	                   $(this).parents('.icip_btn_more').addClass("icip_active");
	               });
	               $(".icip_btn_more").on("mouseout",function(evt){
	                   if(!$(this).find(evt.relatedTarget)[0]){
	                       $(this).removeClass("icip_active");
	                   }
	               });
	             
	           })();
	       });
/*]]>*/
</script>
</head>
<style>
	.add a:hover{color:#dbdbdb}
	.del a:hover{color:#dbdbdb}
</style>
<script type="text/javascript" src="/IMS/js/common/breadCrumbNavigation/navigation.js"></script>
<script type="text/javascript" src="/IMS/js/common/widget/initWidgets.min.js?v=20171219"></script>
<script type="text/javascript" src="/IMS/js/convenienceTel/list.js"></script>
<body class="bgcolor-body">
	<div>
	<div class="cur-position"></div>
</div>
	<div>
<div class="icip_skin_box">
	<div class="icip_content_box">
		<div>
<div class="icip_title_box">
	<div class="left">
		<span class="icip_title_text">便民电话列表</span>
	</div>
	<div class="right">
		<span class="icip_button icip_button_c2"> 
			<a style="color: white;" shape="rect" title="添加便民电话" class="ks-pop-nav" href="javascript:toAdd()"> 新增电话 </a>
		</span>
	</div>
</div>
</div>
		<form id="frm" name="frm" method="post" action="/IMS/convenienceTel/showList.ht?send=search">
			<div>
<div class="icip_css3select_wrap" style="width: 130px;">
	<div class="control-css3select item-box-p1 css3select-icon-hide">
		<input type="hidden" name="cid" id="ht_cid" value="" /> 
		<select id="communityId" class="m-select">
			<option></option>
		</select>
	</div>
</div>
<div class="icip_search_wrap">
	<div class="icip_search">
		<input class="icip_inupt" type="text" name="telName" id="telName" placeholder="电话名称/电话/地址" value="" />
		<input class="icip_button button-white" type="button" value="搜索" onclick="searchSubmit()" />
	</div>
</div>
</div>
			<div>
	<div style="min-height: 300px;">
		<table class="icip_table">
		<tr class="icip_th">
			<td style="width: 6%;">
			</td>
			<td style="width: 20%;">
				小区
			</td>
			<td style="width: 10%;" data-widget-config="{&#39;dropDown&#39;:300,&#39;document&#39;:&#39;true&#39;,&#39;align&#39;: {&#39;points&#39;: [&#39;bc&#39;,&#39;tc&#39;],&#39;offset&#39;: [0, 8]}}" data-widget-type="popup" class="null JsW"><span class="status ks-pop-nav">
				电话类型
			</span><div class="drop-box ks-pop-box" style="display:none;"><div class="drop-cont"><ul class="list"><li><div class="JsW control-checkbox" data-control-type="checkbox"><input name="telTypes" value="01" type="checkbox" /></div>物流快递</li><li><div class="JsW control-checkbox" data-control-type="checkbox"><input name="telTypes" value="02" type="checkbox" /></div>社区服务</li><li><div class="JsW control-checkbox" data-control-type="checkbox"><input name="telTypes" value="03" type="checkbox" /></div>居家服务</li><li><div class="JsW control-checkbox" data-control-type="checkbox"><input name="telTypes" value="04" type="checkbox" /></div>生活服务</li><li><div class="JsW control-checkbox" data-control-type="checkbox"><input name="telTypes" value="05" type="checkbox" /></div>票务出行</li><li><div class="JsW control-checkbox" data-control-type="checkbox"><input name="telTypes" value="06" type="checkbox" /></div>其它</li><input type="submit" value="确定" style="margin-top:7px;width:100%;" /></ul></div></div></td>
			<td style="width: 15%;">
				电话名称
			</td>
			<td style="width: 15%;">
				电话
			</td>
			<td style="width: 34%;">
				地址
			</td>
			<td style="width: 10%;">
				操作
			</td>
		</tr>
        %if rs:
        %for row in rs:
			<tr onmouseover="javascript:this.style.background=&#39;#e3f1ff&#39;" onmouseout="javascript:this.style.background=&#39;#fff&#39;">
				<td>
					<div class="JsW control-checkbox" data-control-type="checkbox">
						<input type="checkbox" name="ids" value="${row.convenId.encode('utf-8') if row.convenId else ''}" />
					</div>
				</td>
				<td>
					<span>${XQ_DICT.get(row.cid,'').encode('utf-8')}</span>
				</td>
				<td>
					<span>${CONVENIENCETEL_TYPE.get(row.telType).decode('gbk').encode('utf-8')}</span>
				</td>
				<td>
					<span>${row.telName.encode('utf-8') if row.telName else ''}</span>
				</td>
				<td>
					<span>${row.mobileNo.encode('utf-8') if row.mobileNo else ''}</span>
				</td>
				<td style="word-break: break-all;">
					<span>${row.convenAddress.encode('utf-8') if row.convenAddress else ''}</span>
				</td>
				<td>
					<a class="btn btn-default" href="javascript:void(0);" title="点击跟进" role="button" style="cursor: pointer; color: #1C80E5" onmouseover="javascript:this.style.color=&#39;#1666b7&#39;" onmouseout="javascript:this.style.color=&#39;#1C80E5&#39;" onclick="showTelInfo(&#39;${row.convenId.encode('utf-8') if row.convenId else ''}&#39;)">编辑</a>
				</td>
			</tr>        
        %endfor
        %else:
		<tr>
			<td colspan="6" class="red">请选择查询条件后再进行搜索</td>
		</tr>
		%endif
		</table>
	</div>
</div>
			<div>

</div>
		</form>
	</div>
</div>
</div>
	<div>
		<div id="_proccesBar" class="JsW keypayment" data-position-type="fixed" data-position-config="{}" data-widget-type="popup" data-widget-config="{&#39;contentId&#39;:true,&#39;contentCls&#39;:&#39;ks-load&#39;}" style="display:none;">
			<div class="JsW load-box" id="ks-load" data-size-type="widescreen">
				<div class="JsW bg alpha30"></div>
				<div class="JsW load-pop-box" data-align-type="align" data-align-config="{&#39;lframe&#39;:&#39;ks-load&#39;}">
					<!-- <i class="ks-pop-close">X</i> -->
					<img class="rotate" src="/IMS/img/loading.png" />
				</div>
			</div>
			<div class="ks-pop-nav"></div>
		</div>
		
		<div id="_proccesBar_no_close" class="JsW keypayment" data-position-type="fixed" data-position-config="{}" data-widget-type="popup" data-widget-config="{&#39;contentId&#39;:true,&#39;contentCls&#39;:&#39;ks-load&#39;,&#39;keyCode&#39;:[]}" style="display:none;">
			<div class="JsW load-box" id="ks-load" data-size-type="widescreen">
				<div class="JsW bg alpha30"></div>
				<div class="JsW load-pop-box" data-align-type="align" data-align-config="{&#39;lframe&#39;:&#39;ks-load&#39;}">
					<!-- <i class="ks-pop-close">X</i> -->
					<img class="rotate" src="/IMS/img/loading.png" />
				</div>
			</div>
			<div class="ks-pop-nav"></div>
		</div>
		<div class="modal-box" id="ks-pop-box-pwd" align="center">
		<div class="JsW bg alpha60" data-position-type="fixed" data-size-type="widescreen"></div>
		<div class="pop-box JsW" data-align-type="align" data-align-config="{&#39;vertical&#39;:false,&#39;offset&#39;:[120,0]}">
			<form method="post" id="changePwd" action="/IMS/changePwd.ht">
				<div class="pop-box-hd">
					修改登录密码 <i class="ks-pop-close2" onclick="closeDialog(&#39;ks-pop-box-pwd&#39;)">X</i>
				</div>
				<div class="pop-box-bd">
				  <table>
				  	<tr>
				  		<td align="right">
				  			<div>
				  				<span class="require">*</span><span>原密码：</span>
				  			</div>
				  		</td>
				  		<td>
				  			<div>
				  				<span><input type="password" class="input" id="oldPassword" name="oldPassword" placeholder="请输入旧密码" /></span>
				  			</div>
				  		</td>
				  	</tr>
				  	<tr>
				  		<td align="right">
				  			<div>
				  				<span class="require">*</span><span>新密码：</span>
				  			</div>
				  		</td>
				  		<td>
				  			<div>
				  				<span><input type="password" class="input" id="newPassword" maxlength="20" name="newPassword" placeholder="请输入新密码" /></span>
				  			</div>
				  		</td>
				  	</tr>
				  	<tr>
				  		<td align="right">
				  			<div>
				  				<span class="require">*</span><span>确认密码：</span>
				  			</div>
				  		</td>
				  		<td>
				  			<div>
				  				<span><input type="password" class="input" maxlength="20" id="checkPassword" name="checkPassword" placeholder="再次输入新密码" /></span>
				  			</div>
				  		</td>
				  	</tr>
				  </table>
				</div>
				<div class="pop-box-ft">
					<div class="redbutton control-button JsW">
						<span> <input type="button" value="确定" onclick="changePwd(&#39;ks-pop-box-pwd&#39;,&#39;changePwd&#39;)" class="button" />
						</span>
					</div>
				</div>
			</form>
		</div>
		</div>
	</div>
</body>
<script>
var communityName = null;
</script>
</html>